package com.fulihui.common.enums;

/**
 * 模板状态
 *
 * @author: wang_wx
 * @version: v 0.1 2017-10-11 17:57
 */
public enum TemplateStatusEnum implements BaseEnum {
    valid(1, "valid", "合法"),
    invalid(2, "invalid", "非法"),
    delete(0, "delete", "已删除");

    private long value;
    private String code;
    private String desc;


    TemplateStatusEnum(long value, String code, String desc) {
        this.value = value;
        this.code = code;
        this.desc = desc;

    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public long getValue() {
        return value;
    }

}